package com.google.code.coma.rmi;

import java.io.Serializable;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.List;

/**
 */
public interface ObserveCallback<T extends Serializable> extends Remote {
    public void onChange(ChangeAction changeAction, List<T> entries) throws RemoteException;

        public enum ChangeAction {
            ADD, REMOVE, UPDATE;
        }
}
